package com.gserver.game.handler;

import com.gserver.commons.ByteArray;
import com.gserver.game.GameRunTimeException;
import com.gserver.game.ServerMainHandler;
import com.gserver.netty.domain.Message;

public class InitHandler extends ServerMainHandler {

	@Override
	public void execute(Message message, ByteArray byteArray)
			throws GameRunTimeException {

		// try {
		// Thread.sleep(2000);
		// } catch (InterruptedException e) {
		// e.printStackTrace();
		// }
		logger.error("client sendMessage:" + message.getCmd());
		// 返回协议的协议体数据
		// response.putLong(System.currentTimeMillis());

		message.getChannel().write(message);
	}
}
